]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
4 years agoci: Allow flatpak job to fail
Florian Müllner [Sat, 2 Jul 2022 00:01:56 +0000 (02:01 +0200)]
ci: Allow flatpak job to fail

The nightly runtime was rebased on a newer freedesktop base, and
all hell broke loose. Unblock our CI by temporarily allowing the
flatpak job to fail.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2355>

4 years agoibusCandidatePopup: Set OSK candidates list visibility correctly
Carlos Garnacho [Wed, 29 Jun 2022 11:06:07 +0000 (13:06 +0200)]
ibusCandidatePopup: Set OSK candidates list visibility correctly

Right now, we don't pay much attention to visibility hints from IBus
about the candidates list for the OSK suggestions bar. Since some
IMs rely on this visibility being honored, do that.

To fix this, the visibility hints for the lookup table are now
propagated to the keyboard, so the Suggestions actor hides its
internal candidate buttons. Since the Suggestions actor gets its
minimum height from CSS, this does not result in OSK size jumps.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5601
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2347>

4 years agokeyboard: Set ornament on selected item in OSK languages popup menu
Carlos Garnacho [Mon, 27 Jun 2022 11:55:34 +0000 (13:55 +0200)]
keyboard: Set ornament on selected item in OSK languages popup menu

There is no hint about the currently selected language, but this exists
in the mockups. Add a dot ornament on the language that is currently
selected at the time of showing the OSK languages popup.

Since this popup is created from scratch every time it is shown, and
the popup is torn down with the OSK during replacement. This also
works for further times the languages popup is shown.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5598
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2346>

4 years agoUpdate Russian translation
Aleksandr Melman [Sat, 25 Jun 2022 18:31:42 +0000 (18:31 +0000)]
Update Russian translation

4 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 22 Jun 2022 09:22:29 +0000 (11:22 +0200)]
Updated Spanish translation

4 years agowindowManager: Undim parent when minimizing attached modal
Florian Müllner [Thu, 16 Jun 2022 20:35:56 +0000 (22:35 +0200)]
windowManager: Undim parent when minimizing attached modal

Minimizing modal dialogs is highly unconventional - and in fact
disabled in our own code - but apps can still do it programmatically.

The parent window shouldn't remain dimmed in that case, so make
sure to re-check dimming when minimizing an attached modal.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5581

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2337>

4 years agoportalHelper: Switch to soup3-based WebKitGTK
Florian Müllner [Fri, 17 Jun 2022 16:48:30 +0000 (18:48 +0200)]
portalHelper: Switch to soup3-based WebKitGTK

The soup2-based version will be discontinued soon, so simply
switch to the (API-compatible) soup3-based version.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2338>

4 years agobuild: Default to soup3
Florian Müllner [Fri, 17 Jun 2022 16:28:53 +0000 (18:28 +0200)]
build: Default to soup3

Soup3 support was added a while ago, but until now we still
defaulted to the old soup2. For GNOME 43, the default should
be switched[0], so do that.

[0] https://discourse.gnome.org/t/please-build-against-libsoup-3-by-default/10190/2

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2338>

4 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 20 Jun 2022 19:20:15 +0000 (22:20 +0300)]
Updated Lithuanian translation

4 years agostyle: Fix margin and color problems in the close buttons
Sam Hewitt [Tue, 31 May 2022 12:33:58 +0000 (10:03 -0230)]
style: Fix margin and color problems in the close buttons

- align the screenshot close button better
- use color changes consistent with other elements

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Add missing transition timings
Sam Hewitt [Fri, 27 May 2022 18:09:45 +0000 (15:39 -0230)]
style: Add missing transition timings

- fixes #5211

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agonm-dialog: Fix icon spacing issue
Sam Hewitt [Fri, 27 May 2022 17:19:26 +0000 (14:49 -0230)]
nm-dialog: Fix icon spacing issue

- fixes #4928

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Remove shadow on switch users button
Sam Hewitt [Fri, 27 May 2022 17:07:33 +0000 (14:37 -0230)]
style: Remove shadow on switch users button

- removes a dropshadow from the switch users button on the lockscreen

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Fix rtl oversight on lockscreen notifications
Sam Hewitt [Fri, 27 May 2022 16:05:12 +0000 (13:35 -0230)]
style: Fix rtl oversight on lockscreen notifications

- Fixes #5152

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Neutral style for hotcorner ripple
Sam Hewitt [Fri, 27 May 2022 15:55:32 +0000 (13:25 -0230)]
style: Neutral style for hotcorner ripple

- fixes #5443

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Adjust close button style
Sam Hewitt [Fri, 27 May 2022 15:54:28 +0000 (13:24 -0230)]
style: Adjust close button style

- fixes #5481

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agokbdA11yDialog: Use MetaKeyboardA11yFlags
Olivier Fourdan [Tue, 14 Jun 2022 14:38:27 +0000 (16:38 +0200)]
kbdA11yDialog: Use MetaKeyboardA11yFlags

The change in mutter to move keyboard accessibility into backends needs
to be applied in gnome-shell as well, otherwise the keyboard
accessibility dialog cannot work.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2306
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2334>

4 years agoUpdate Catalan translation
Jordi Mas [Tue, 14 Jun 2022 21:08:11 +0000 (23:08 +0200)]
Update Catalan translation

4 years agoUpdate Italian translation
Milo Casagrande [Tue, 14 Jun 2022 15:31:06 +0000 (15:31 +0000)]
Update Italian translation

(cherry picked from commit 2b7b4c32949d0528e94ece8dabeabb7e65079f57)

4 years agoUpdate Occitan translation
Quentin PAGÈS [Thu, 9 Jun 2022 20:06:10 +0000 (20:06 +0000)]
Update Occitan translation

4 years agoappMenu: Hide overview when pressing on 'Show Details'
PhilProg [Tue, 7 Jun 2022 19:22:54 +0000 (19:22 +0000)]
appMenu: Hide overview when pressing on 'Show Details'

If the 'Show Details' in the app menu is pressed, the overview
will hide now, making it consistent with other launch actions.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5279

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2329>

4 years agost: Only notify on property changes
Florian Müllner [Fri, 3 Jun 2022 18:32:03 +0000 (20:32 +0200)]
st: Only notify on property changes

Since commit 5a23c96bd918 we use EXPLICIT_NOTIFY for properties,
however there are still cases where we still notify unconditionally
from the setter, because we don't check the existing value first.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2325>

4 years agostyle: High-contrast fixes and color adjustments
Sam Hewitt [Tue, 26 Apr 2022 18:19:41 +0000 (15:49 -0230)]
style: High-contrast fixes and color adjustments

- pull in the palette changes to the HC css
- adjust the color definitions for HC
- address some of the problems with hover states in HC
- reworked drawing functions for HC

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2284>

4 years agoshell: Do not create a systemd scope when using D-Bus app launching
msizanoen1 [Thu, 26 May 2022 06:15:06 +0000 (13:15 +0700)]
shell: Do not create a systemd scope when using D-Bus app launching

Applications launched using D-Bus activation will have a returned PID of
0, which systemd interprets as moving the requesting process to a new
scope, causing GNOME Shell to be moved to another scope. Fix this by not
creating a systemd scope when PID is 0.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2305>

4 years agoscreenshot: Fall back to home if Pictures directory is not available
Sam Uong [Mon, 6 Jun 2022 10:45:25 +0000 (10:45 +0000)]
screenshot: Fall back to home if Pictures directory is not available

GLib.get_user_special_dir() returns null if user directories are
disabled. Instead of failing silently, fall back to saving screenshots
in $HOME/Screenshots in that case

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5549

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2327>

4 years agoUpdate German translation
Jürgen Benvenuti [Sun, 5 Jun 2022 20:22:37 +0000 (20:22 +0000)]
Update German translation

4 years agomessageList: Only close messages via delete key if they can be closed
PhilProg [Fri, 3 Jun 2022 04:53:11 +0000 (04:53 +0000)]
messageList: Only close messages via delete key if they can be closed

If the delete key is pressed while a message/MPRIS indicator is focused
GNOME now asks whether the message/MPRIS indicator is closable.
If yes it will be closed but if not it won't be closed.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5536

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2323>

4 years agotheme: Hardcode osd bg color
Jakub Steiner [Tue, 31 May 2022 06:45:26 +0000 (08:45 +0200)]
theme: Hardcode osd bg color

- osd needs to work for both light & dark contexts

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5537

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2315>

4 years agoUpdate French translation
Irénée THIRION [Fri, 3 Jun 2022 14:08:57 +0000 (14:08 +0000)]
Update French translation

4 years agoUpdate Friulian translation
Fabio Tomat [Fri, 3 Jun 2022 08:22:23 +0000 (08:22 +0000)]
Update Friulian translation

4 years agomagnifier: Include SSD when calculating screen coordinates for events
Sebastian Keller [Tue, 31 May 2022 16:18:45 +0000 (18:18 +0200)]
magnifier: Include SSD when calculating screen coordinates for events

When calculating the on screen coordinates of events from the window
relative coordinates, using the frame rect will include the decorations
added by the WM for SSD windows. This was causing the calculated
coordinates to be slightly off. Fix this by using the client rect for
SSD windows.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2319>

4 years agorunDialog: Use single quotes for Wayland restart warning
Jonas Ådahl [Tue, 31 May 2022 11:10:16 +0000 (13:10 +0200)]
runDialog: Use single quotes for Wayland restart warning

The API was changed to take a pointer to a MetaContext, in order to have
a better way to fetch the MetaDisplay instance it needs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2316>

4 years agorunDialog: Pass context to Meta.restart()
Jonas Ådahl [Tue, 31 May 2022 10:59:56 +0000 (12:59 +0200)]
runDialog: Pass context to Meta.restart()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2316>

4 years agobuild: Bump mutter API version
Florian Müllner [Tue, 31 May 2022 13:24:51 +0000 (15:24 +0200)]
build: Bump mutter API version

We started a new development cycle when branching, reflect that by
bumping the mutter API version.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2317>

4 years agoUpdate Hebrew translation
Yosef Or Boczko [Mon, 30 May 2022 18:24:12 +0000 (18:24 +0000)]
Update Hebrew translation

4 years agoUpdate Occitan translation
Quentin PAGÈS [Mon, 30 May 2022 16:53:47 +0000 (16:53 +0000)]
Update Occitan translation

4 years agoUpdate Russian translation
Aleksandr Melman [Mon, 30 May 2022 16:25:31 +0000 (16:25 +0000)]
Update Russian translation

4 years agomagnifier: Request window-relative coordinates for focus/caret events
Sebastian Keller [Mon, 23 May 2022 21:01:23 +0000 (23:01 +0200)]
magnifier: Request window-relative coordinates for focus/caret events

Absolute screen coordinates are impossible for Wayland clients to
provide, because the clients don't know where the window is positioned.
Some clients, such as the ones using GTK 3 were providing window
relative coordinates even when screen coordinates were requested,
while others, such as GTK 4 clients, were just returning an error for
caret events or also window-relative coordinates for focus events.

So for this to work on Wayland we have to request window-relative
coordinates and translate them to the current focus window.

To ensure the correct coordinates, we have to only consider events
coming from the current focus window. All other events are filtered out
now. As a side effect this also fixes the magnifier always jumping
to a terminal cursor whenever there was some output, even if the window
was not focused.

This also needs some special handling for events coming from the shell
itself, which should not be translated to the focus window either. As
another side effect this fixes another bug that was caused by these
events already including scaling and getting scaled again.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5509
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2301>

4 years agoUpdate Chinese (China) translation
Luming Zh [Sat, 28 May 2022 02:35:59 +0000 (02:35 +0000)]
Update Chinese (China) translation

4 years agokeyboard: Set up OSK edge drag gesture on capture phase
Carlos Garnacho [Tue, 24 May 2022 20:22:05 +0000 (22:22 +0200)]
keyboard: Set up OSK edge drag gesture on capture phase

This makes the gesture able to get the events that would otherwise
be meant for the background actor or client window.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5335
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

4 years agoedgeDragAction: Change edge trigger threshold to AFTER
Carlos Garnacho [Wed, 25 May 2022 18:54:39 +0000 (20:54 +0200)]
edgeDragAction: Change edge trigger threshold to AFTER

For all instances of this gesture, we want this gesture to
activate after some distance, not to eat button presses/releases
right away.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

4 years agokeyboard: Set up emoji panel pan gesture in capture phase
Carlos Garnacho [Tue, 24 May 2022 20:07:27 +0000 (22:07 +0200)]
keyboard: Set up emoji panel pan gesture in capture phase

We need this to catch events before they reach to the emoji
keys, and the gesture can begin/end properly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

4 years agokeyboard: Reset height before requesting preferred height
Jonas Dreßler [Thu, 26 May 2022 16:13:12 +0000 (18:13 +0200)]
keyboard: Reset height before requesting preferred height

If we don't set the height property to -1 before requesting the
preferred height, get_preferred_height() will just return us the fixed
height that has been set before. We don't want this behavior here, so
set the height to -1 before calling get_preferred_height().

This fixes a resizing issue where the keyboard is sized incorrectly
after switching the monitor into portrait mode and back.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2306>

4 years agoUpdate Portuguese translation
Hugo Carvalho [Tue, 24 May 2022 18:34:00 +0000 (18:34 +0000)]
Update Portuguese translation

4 years agoUpdate Portuguese translation
Hugo Carvalho [Tue, 24 May 2022 14:43:47 +0000 (14:43 +0000)]
Update Portuguese translation

4 years agoUpdate Persian translation
Danial Behzadi [Tue, 24 May 2022 12:10:35 +0000 (12:10 +0000)]
Update Persian translation

4 years agoUpdate Turkish translation
Emin Tufan Çetin [Tue, 24 May 2022 07:22:25 +0000 (07:22 +0000)]
Update Turkish translation

4 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 23 May 2022 19:51:17 +0000 (19:51 +0000)]
Update Ukrainian translation

4 years agoUpdate German translation
Christian Kirbach [Mon, 23 May 2022 19:14:36 +0000 (19:14 +0000)]
Update German translation

(cherry picked from commit 63f19252898e4515e6ca5f3145063f50514acf0f)

4 years agostatus/network: Show WireGuard connections in VPN list
Christian Glombek [Sun, 3 Oct 2021 17:49:27 +0000 (19:49 +0200)]
status/network: Show WireGuard connections in VPN list

With this change, WireGuard connections, and an on/off toggle button
or a status description for each are shown in the VPN section of the
Gnome Shell network status UI.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1995>

4 years agoUpdate Russian translation
Aleksandr Melman [Mon, 23 May 2022 12:27:35 +0000 (12:27 +0000)]
Update Russian translation

4 years agoconfig: Check runtime dependencies at runtime
Florian Müllner [Wed, 18 May 2022 14:49:41 +0000 (16:49 +0200)]
config: Check runtime dependencies at runtime

Both bluetooth and screencast support are based on build checks
right now. However in both cases, the dependency is only consumed
at runtime via the typelib, so let's actually check for that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2297>

4 years agodbusServices/screencast: Install unconditionally
Florian Müllner [Wed, 18 May 2022 14:43:45 +0000 (16:43 +0200)]
dbusServices/screencast: Install unconditionally

We currently decide at build time whether to include screencast
support, based on whether the required gst/pipewire library headers
are installed.

That check is imprecise, because having the library headers available
at build time doesn't necessarily mean that the libraries are there
at runtime, or that the corresponding typelibs are installed.

It makes more sense to check the requirements at runtime, so prepare
for that by installing the screencast service unconditionally, but
bail out early if the dependencies aren't met.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2297>

4 years agobuild: Remove gst dependencies
Florian Müllner [Wed, 18 May 2022 11:32:17 +0000 (13:32 +0200)]
build: Remove gst dependencies

Those are left-overs from the built-in Shell.Recorder.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2297>

4 years agolockScreen: Extend modal grab to entire uiGroup
Florian Müllner [Fri, 13 May 2022 12:30:00 +0000 (14:30 +0200)]
lockScreen: Extend modal grab to entire uiGroup

Main.pushModal() used to ensure a compositor grab, but didn't
take an input grab. That changed when porting to ClutterGrab,
so by limiting the grab to the shield/dialog, it is no longer
possible to access top bar menus when the screen is locked.

To fix that, take the grab on the whole uiGroup so that the top
bar is included.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5470

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2298>

4 years agodateMenu: Align time strings in the World Clocks section
Maksym Hazevych [Sat, 7 May 2022 15:27:08 +0000 (18:27 +0300)]
dateMenu: Align time strings in the World Clocks section

The problem is that " 9:59 AM" (notice the space at the beginning) and
"12:59 AM" strings, when centred, look misaligned —
strings padded with a space look off to the right by nearly
half a character. This happens because the font feature "tnum",
used to make numbers monospace, doesn't work on spaces.

The commit overcomes this by aligning time labels to the end.
However, this won't work for locales with AM/PM strings of different
lengths, so they are aligned to the start instead to minimise offset.

It's too complex to know whether the used locale has different
AM/PM string lengths. Instead, every time the time changes, it
determines whether all the time labels have the same amount of characters.

Fixes #5438

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2294>

4 years agoUpdate Czech translation
Daniel Rusek [Wed, 18 May 2022 12:19:40 +0000 (12:19 +0000)]
Update Czech translation

4 years agobuild: Do not redefine polkit autocleanup
Florian Müllner [Tue, 17 May 2022 13:36:43 +0000 (15:36 +0200)]
build: Do not redefine polkit autocleanup

PolkitAgent recently added autocleanup functions itself, so check
for their existence at configure time and only define our own when
they don't exist upstream.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5490

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2296>

4 years agoUpdate Korean translation
Changwoo Ryu [Mon, 16 May 2022 12:02:27 +0000 (12:02 +0000)]
Update Korean translation

(cherry picked from commit 362ab5d0631fe3dc484b6a70e720f3b2dc9b175b)

4 years agoUpdate French translation
Charles Monzat [Mon, 16 May 2022 09:40:00 +0000 (09:40 +0000)]
Update French translation

(cherry picked from commit 49086711922d3863177189359e20c96caa65edb5)

4 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Wed, 11 May 2022 16:00:01 +0000 (16:00 +0000)]
Update Chinese (Taiwan) translation

(cherry picked from commit a13ef1003db38620ad9cd2bca3edf428416a0403)

4 years agostatus/volume: Hide sliders initially
Florian Müllner [Wed, 11 May 2022 00:34:21 +0000 (02:34 +0200)]
status/volume: Hide sliders initially

We update the visibility on state or stream changes, but those
changes may never happen if pipewire-pulse/pulseaudio isn't
available (for example when running as root).

Hiding the sliders is preferable in that case to showing non-working
controls.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2295>

4 years agoUpdate Catalan translation
Jordi Mas [Sat, 7 May 2022 17:05:55 +0000 (19:05 +0200)]
Update Catalan translation

4 years agoJs: Use new :icon-name property
Florian Müllner [Mon, 21 Mar 2022 15:44:24 +0000 (16:44 +0100)]
Js: Use new :icon-name property

Now that we have the new convenience property, apply it to all
icon-only buttons.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2254>

4 years agost/button: Add :icon-name property
Florian Müllner [Mon, 21 Mar 2022 15:07:11 +0000 (16:07 +0100)]
st/button: Add :icon-name property

GTK4 added a convenience property for icon-only buttons. While that
use case is not quite as common in the shell as in GTK apps, it still
seems common enough to mirror the GTK API.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2254>

4 years agoBump version to 42.1
Florian Müllner [Wed, 4 May 2022 18:57:25 +0000 (20:57 +0200)]
Bump version to 42.1

Update NEWS.

4 years agoUpdate Russian translation
Aleksandr Melman [Thu, 5 May 2022 12:57:52 +0000 (12:57 +0000)]
Update Russian translation

4 years agoiconGrid: Add more possible icon sizes
Sebastian Keller [Mon, 2 May 2022 02:41:45 +0000 (04:41 +0200)]
iconGrid: Add more possible icon sizes

When selecting the largest possible icon size for restricted vertical or
horizontal space the options for low resolution icons were rather coarse
grained. This could often result in seemingly too small icons being
chosen in the app grid on systems with low vertical resolution, because
the next larger size would exceed the limit by a few pixels.

This adds two more commonly used sizes for application icons to have
some more options with restricted space.

Helps: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2173
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2289>

4 years agoRequire both mouse and keyboard grabs for some grabs to be successful
Sebastian Keller [Sat, 30 Apr 2022 06:18:39 +0000 (08:18 +0200)]
Require both mouse and keyboard grabs for some grabs to be successful

Commit 7419674b changed some grabs from requiring both mouse and
keyboard grabs to be considered successful to only requiring either of
them.

Due to this it was possible for example to open the overview or the
screenshot UI with a client (such as Chrome when opening a menu) holding
the mouse grab. This then made it impossible to interact with the UI
using the mouse (or keyboard) and if attempted could result in an
unresponsive UI.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5414
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2287>

4 years agoscreenshot: Close screenshot UI if we failed to acquire a grab
Sebastian Keller [Sat, 30 Apr 2022 06:24:14 +0000 (08:24 +0200)]
screenshot: Close screenshot UI if we failed to acquire a grab

Otherwise the actors will remain invisible yet reactive covering up the
screen.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5414
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2287>

4 years agoUpdate Bulgarian translation
Alexander Shopov [Mon, 2 May 2022 19:12:30 +0000 (19:12 +0000)]
Update Bulgarian translation

4 years agoUpdate Ukrainian translation
Olexander [Mon, 2 May 2022 09:06:25 +0000 (09:06 +0000)]
Update Ukrainian translation

4 years agost/theme-node: Only try to parse non-empty inline styles
Sebastian Keller [Fri, 29 Apr 2022 21:30:21 +0000 (23:30 +0200)]
st/theme-node: Only try to parse non-empty inline styles

Otherwise cr_parser_new_from_buf() will fail creating a parser for a
buffer of length 0, resulting in further errors due to the parser being
NULL. This could happen when extensions were trying to set the style of
a widget to an empty string.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4634
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2286>

4 years agoscreenshot: Hide screencast button when recorder is disabled
Florian Müllner [Wed, 27 Apr 2022 13:33:40 +0000 (15:33 +0200)]
screenshot: Hide screencast button when recorder is disabled

The screencast D-Bus service that is used for the recordings
is only installed if the necessary gstreamer and pipewire
dependencies are found at build time.

The screencast button cannot work when the service is missing,
so don't show it in the first place.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2450

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2285>

4 years agoconfig: Fix misleading comment
Florian Müllner [Wed, 27 Apr 2022 13:08:17 +0000 (15:08 +0200)]
config: Fix misleading comment

HAVE_SOUP2=1 does *not* mean that Soup3 is enabled, it does the
exact opposite as indicated by the variable name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2285>

4 years agostatus/network: Also show disabled icon when wwan is not connected
Jonas Dreßler [Tue, 26 Apr 2022 17:01:14 +0000 (19:01 +0200)]
status/network: Also show disabled icon when wwan is not connected

Commit ca4f6e01234e9ef7f1315fcb13b89423da670dc7 was supposed to show the
"cellular-disabled" icon when wwan is disabled. For wwan, just like for
bluetooth wwan networks, we probably want this to include the "not
connected" state, because disconnecting from cellular service de-facto
means disabling it.

So switch the check to show the "cellular-disabled" icon to also use the
icon whether there's no active connection, not only when the wwan device
is turned off.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5401

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2283>

4 years agotheme/calendar: Use em instead of px for calendar day sizes
Jonas Dreßler [Tue, 26 Apr 2022 16:45:40 +0000 (18:45 +0200)]
theme/calendar: Use em instead of px for calendar day sizes

The layout manager of the calendar/notifications popup is using the
calendar width to determine the width of the whole right area of the
calendar popup. When enabling large text, this means the cards used for
world clocks, weather etc. get larger, while the calender doesn't get
larger, leading to the cards getting clipped.

Make sure the calendar grows in size just as the cards do when large
text is enabled and define its size in em's instead of pixels.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5392

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2282>

4 years agoUpdate Catalan translation
Jordi Mas [Thu, 28 Apr 2022 19:25:24 +0000 (21:25 +0200)]
Update Catalan translation

4 years agoUpdate Polish translation
Piotr Drąg [Thu, 28 Apr 2022 15:31:42 +0000 (17:31 +0200)]
Update Polish translation

4 years agooverview: Avoid entering in overview mode during display grab op
Carlos Garnacho [Tue, 26 Apr 2022 11:09:01 +0000 (13:09 +0200)]
overview: Avoid entering in overview mode during display grab op

ClutterGrab and display grab operations are pretty much mutually
exclusive, but there's no mechanism to ensure a ClutterGrab does
not step on top of an existing grab operation.

This looks the only place that could trigger that (e.g. start
dragging window, then move pointer to top/left corner), so skip
over the situation here explicitly.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5397
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5181
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2281>

4 years agostyle: Sync default colors with libadwaita
Jakub Steiner [Mon, 25 Apr 2022 12:40:29 +0000 (14:40 +0200)]
style: Sync default colors with libadwaita

- include GNOME HIG color palette
- sync warning, error, success and destructive colors with libadwaita,
  improving contrast for dark theme

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2280

4 years agopadOsd: Set menu manager on pad chooser popup
Carlos Garnacho [Sat, 23 Apr 2022 17:53:46 +0000 (19:53 +0200)]
padOsd: Set menu manager on pad chooser popup

Likewise to action menus, this does now need a menu manager
that lets the popup stack a grab on top of the pad OSD's.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2279>

4 years agopadOsd: Set menu manager on actions popup menu
Carlos Garnacho [Sat, 23 Apr 2022 17:51:11 +0000 (19:51 +0200)]
padOsd: Set menu manager on actions popup menu

Menus do need a menu manager to handle grabs for them, this
is more necessary now that the padOsd do also push a
Clutter.Grab.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2279>

4 years agoosd: Restyle OSD display popup
Sam Hewitt [Tue, 19 Apr 2022 16:38:37 +0000 (14:08 -0230)]
osd: Restyle OSD display popup

- remove class from label box
- new style for label itself

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2277>

4 years agoappDisplay: Use icon grid size as distance passed to SwipeTracker
Jonas Dreßler [Sat, 9 Apr 2022 22:48:39 +0000 (00:48 +0200)]
appDisplay: Use icon grid size as distance passed to SwipeTracker

The swipeTracker wants the distance between two pages passed to it in
confirmSwipe(). In case of the app grid, the correct distance is not the
size of the scrollView (which has the width of the whole screen), but
instead the allocation size of the iconGrid (which is the actual size
of a page in the grid).

So pass the allocation size of the iconGrid to the swipeTracker, this
makes sure the pages move perfectly in sync with the pointer when
dragging using the mouse or touchscreen.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2275>

4 years agoAdd Georgian translation
Zurab Kargareteli [Sat, 23 Apr 2022 16:58:15 +0000 (16:58 +0000)]
Add Georgian translation

4 years agoPass events to the OSK in dialogs which grab events
Jonas Dreßler [Wed, 6 Apr 2022 10:51:45 +0000 (12:51 +0200)]
Pass events to the OSK in dialogs which grab events

With commit c29e0cf6e60a1296b43fc33d94f2acc649046cf9 the grabHelper
already started using a similar mechanism to funnel events to the osk
while a ClutterGrab is in effect. ModalDialog, the unlockDialog and
lookingGlass don't make use of the grabHelper though, they use
Main.pushModal() themselves, so those need to funnel the events to the
OSK themselves.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2263>

4 years agokeyboard: Capture and bubble event in maybeHandleEvent
Jonas Dreßler [Wed, 6 Apr 2022 10:50:32 +0000 (12:50 +0200)]
keyboard: Capture and bubble event in maybeHandleEvent

Right now the clutter_actor_event() call here errors out because the
second argument is missing, make it capture and bubble the event
properly to fix that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2263>

4 years agoshell/window-preview-layout: Fix memory leaks
Sebastian Keller [Mon, 21 Mar 2022 19:45:36 +0000 (20:45 +0100)]
shell/window-preview-layout: Fix memory leaks

The WindowInfo allocated when adding a window was not getting free'd
when the window was getting removed again or the layout was getting
disposed. Also the hash table in which the WindowInfos are stored was
not getting free'd on destruction either. Both could result in small
leaks after closing the overview.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5238
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2256>

4 years agoOsk-layouts: Add Austrian German layout
Florian Müllner [Thu, 21 Apr 2022 00:01:18 +0000 (02:01 +0200)]
Osk-layouts: Add Austrian German layout

The 'at' layout is identical to 'de', but as it is implemented as
a different layout rather than a variant, we can only fall back
to 'us'.

To fix that, copy the existing German layout into a new Austrian
one (with the 'name' and 'locale' keys adjusted accordingly).

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5372

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2274>

4 years agoosk-layouts: Fix Swiss layouts
Florian Müllner [Wed, 20 Apr 2022 23:24:45 +0000 (01:24 +0200)]
osk-layouts: Fix Swiss layouts

Commit fe3a80ab9fcf added layouts for both Swiss French and Swiss
French, but as neither name matches the XKB layout code, they are
not used and the OSK falls back to the US layout.

The correct names are 'ch' (for Switch German) and 'ch+fr', so
rename the layout definitions accordingly.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5372

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2273>

4 years agolookingGlass: Handle Esc in object inspector
Florian Müllner [Mon, 18 Apr 2022 15:23:45 +0000 (17:23 +0200)]
lookingGlass: Handle Esc in object inspector

Currently the main looking glass dialog handles Esc for both itself
and the object inspector. However as the latter now takes its own
Clutter.Grab, key events never reach the main dialog while the
inspector is open.

Fix this by handling the Esc key in the object inspector itself.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5356

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2271>

4 years agoextensionSystem: Check metadata types
Florian Müllner [Wed, 20 Apr 2022 17:29:19 +0000 (19:29 +0200)]
extensionSystem: Check metadata types

We currently check that an extension provides required metadata
properties, but then assume that all properties have the expected
type.

It turns out that this is putting too much trust in extensions,
so add an appropriate check.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5347

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2272>

4 years agoUpdate Icelandic translation
Sveinn í Felli [Wed, 20 Apr 2022 19:55:25 +0000 (19:55 +0000)]
Update Icelandic translation

4 years agoUpdate Icelandic translation
Sveinn í Felli [Wed, 20 Apr 2022 11:53:39 +0000 (11:53 +0000)]
Update Icelandic translation

4 years agoUpdate Hebrew translation
Yosef Or Boczko [Tue, 19 Apr 2022 13:56:23 +0000 (13:56 +0000)]
Update Hebrew translation

4 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 18 Apr 2022 17:23:08 +0000 (19:23 +0200)]
Updated Danish translation

4 years agoUpdate Russian translation
Aleksandr Melman [Sun, 17 Apr 2022 18:41:11 +0000 (18:41 +0000)]
Update Russian translation

4 years agoUpdate Friulian translation
Fabio Tomat [Sun, 17 Apr 2022 10:34:53 +0000 (10:34 +0000)]
Update Friulian translation

4 years agoUpdate Korean translation
Changwoo Ryu [Fri, 15 Apr 2022 19:57:20 +0000 (19:57 +0000)]
Update Korean translation